package com.qcby.dao;

import com.qcby.entity.Question;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QuestionDao {
    List<Question> list();

    void insertQuestions(@Param("questionList") List<Question> questionList);

    List<Question> getByExamId(Integer id);

    List<Question> getQuestionTypeAndCount(Integer id);

}
